<style>
    .layui-form-pane .layui-form-label{width:auto;}
    .layui-form-item{margin-bottom: 0px;}
    .order-time-bg{background-color:#1E9FFF;color:white;padding:0px 5px;}
    .order-num span{display:inline-block;min-width:25px;margin:0px 2px;text-align:center;}
    .dress_line_code{margin-top:6px;}
    .dress_line_code textarea{height:100px;padding:6px;width:578px}
    .submit_block{padding-left:230px;}
    .checkInNumSpan{text-decoration:underline;}
    .checkin_ret{text-align:center;padding-top:30px;}
    .scan_code_ret{color:red;font-weight:bold;margin-bottom:6px;}
    .defective_reason{padding:3px 2px;}
    .defective_reason input{padding:2px 4px;}
    .layui-table-cell{line-height:21px;}
</style>
<div class="layui-collapse" id="vue_menu_content">
    <div class="layui-colla-item caigou">
        <h2 class="layui-colla-title"></h2>
        <div class="layui-colla-content layui-show">
            <div>节点筛选：
                {if $Request.controller == 'CostCheck' &&  $Request.action == 'coverloss'}
                <a href="{:url('mp/CostCheck/coverLoss')}" class="layui-btn layui-btn-sm layui-btn-normal">待补损【{{ status_sum_0 }}】</a>
                {else /}
                <a href="{:url('mp/CostCheck/coverLoss')}" class="layui-btn layui-btn-sm layui-btn-primary">待补损【{{ status_sum_0 }}】</a>
                {/if}
                {if $Request.controller == 'CostCheck' &&  $Request.action == 'coverloss50'}
                》<a href="{:url('mp/CostCheck/coverLoss50')}" class="layui-btn layui-btn-sm layui-btn-normal">补损中【{{ status_sum_50 }}】</a>
                {else /}
                》<a href="{:url('mp/CostCheck/coverLoss50')}" class="layui-btn layui-btn-sm layui-btn-primary">补损中【{{ status_sum_50 }}】</a>
                {/if}
                {if $Request.controller == 'CostCheck' &&  $Request.action == 'coverloss100'}
                》<a href="{:url('mp/CostCheck/coverLoss100')}" class="layui-btn layui-btn-sm layui-btn-normal">已完成【{{ status_sum_100 }}】</a>
                {else /}
                》<a href="{:url('mp/CostCheck/coverLoss100')}" class="layui-btn layui-btn-sm layui-btn-primary">已完成【{{ status_sum_100 }}】</a>
                {/if}
                <!--按钮-->
                <a href="{:url('addConfig')}?type=add_config_coverLoss" class="layui-btn layui-btn-warm layui-btn-sm  hisi-iframe" hisi-data="{width: '50%', height:'428px'}" style="float:right;"  title="设置">&nbsp;设置</a>

            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    // var request_controller = '{$Request.controller}';
    // var request_action = '{$Request.action}';
    // //动态显示pv
    // if(typeof  window.parent.pv_uv_str_ext == 'function' ) {
    //     window.parent.pv_uv_str_ext(0, 'mp/' + request_controller + '/' + request_action);
    // }
    //#vue_tab_content
    const allContent = {
        data() {
            return {
                status_sum_0:0
                , status_sum_50:0
                , status_sum_100:0
                , status_sum_200:0
            }
        }
    }
    const vm=Vue.createApp(allContent).mount('#vue_menu_content');
    //统计信息
    function stat_set() {
        $.ajax({
            type: "POST",
            url: "{:url('statistics',['type_name'=>'buxien'])}",
            data: $('#hisi-table-search').serialize(),
            dataType:"json",
            success: function(res){
                vm.$data.status_sum_0=res.data[0];
                vm.$data.status_sum_50=res.data[50];
                vm.$data.status_sum_100=res.data[100];
                vm.$data.status_sum_200=res.data[200];
            }
        });
    }
</script>